#if !defined(AFX_PATHCOMBOBOX_H__C88B7280_5381_486A_A0B7_86DFDEA0D158__INCLUDED_)
#define AFX_PATHCOMBOBOX_H__C88B7280_5381_486A_A0B7_86DFDEA0D158__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PathComboBox.h : header file
//

#include "ShellComboBox.h"

#define WM_COMBOBOXB_SELCHANGE		WM_APP+1007

/////////////////////////////////////////////////////////////////////////////
// CPathComboBox window
class CRemoteListCtrl;
class CPathComboBox : public CShellComboBox
{
// Construction
public:
	CPathComboBox();

// Attributes
public:
	virtual void OnPopulateCompelet();

public:
	CStringList		m_lsPathList;

// Operations
public:
	void SetRemoteListCtrl(CRemoteListCtrl * pListCtrl){m_pRemoteListCtrl=pListCtrl;}
	void SetRemote(BOOL bRemote){m_bRemote = bRemote;}
	virtual ~CPathComboBox();
	void LoadPath(CString szPath);
	void AddPath(CString szPath);
	void SetSelPath(CString szPath);
	//void RemovePathList(){m_lsPathList.RemoveAll();}

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPathComboBox)
	//}}AFX_VIRTUAL

// Implementation
protected:
	void InitShellImageLists();

private:
	BOOL			m_bRemote;
	HIMAGELIST		m_hImageList;

	CRemoteListCtrl * m_pRemoteListCtrl;

	// Generated message map functions
protected:
	//{{AFX_MSG(CPathComboBox)
	afx_msg void OnComboBoxSelChange();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PATHCOMBOBOX_H__C88B7280_5381_486A_A0B7_86DFDEA0D158__INCLUDED_)
